package com.yuantu.judiciary.model.form;

import com.yuantu.judiciary.model.enums.OrganizationType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 套餐信息表单
 *
 * @author syw
 * @since 2023-08-11
 **/
@Data
@ApiModel("套餐信息表单")
public class VipInfoForm {
    @ApiModelProperty("套餐id")
    private Long id;

    @ApiModelProperty("套餐名称")
    private String name;

    @NotNull
    @ApiModelProperty("组织类型")
    private OrganizationType type;

    @ApiModelProperty("总价（实际价格）")
    private Double totalPrice;

    @ApiModelProperty("单价")
    private Double unitPrice;

    @ApiModelProperty("时长：年")
    private Integer duration;

    @ApiModelProperty("查询总次数")
    private Integer queryTotalNum;

    @ApiModelProperty("账号数量")
    private Integer accountNum;

    @ApiModelProperty("原价（展示价格）")
    private Double originPrice;
}
